<div id="slider"></div>
<script type="text/javascript">
$(document).ready(function(){
	$.post("ajax.php",{slider:'slider',id:<?php if($row_info_be['tuantuoi']>0 && $row_info_be['tuantuoi']<39) echo $row_info_be['tuantuoi']; else echo '1';?>},function(data){
		$("#slider").html(data);
	});
	$(".nen").live("click",function(){
		var id = ($(this).attr("class")).split(" ");
		$.post("ajax.php",{slider:'slider',id:id[1]},function(data){
			$("#slider").html(data);
		});
	});
});
</script>